//
//  Common.swift
//  WeiBo
//
//  Created by 韩菲菲 on 16/8/9.
//  Copyright © 2016年 韩菲菲. All rights reserved.
//

import UIKit

////OAuth授权相关的
let WBAppKey = "2023543063"
let WBAppSecret = "74e2612dc4b4d60fee37472b9b66c9fc"
let WBRedirect_uri = "http://www.baidu.com"
// 微博账号
let WBName = "15620946376"
let WBPassWd = "hanfei1234"


//let WBName = "rangyuan05788697@163.com"
//let WBPassWd = "bbb333"

//屏幕宽度
let ScreenW = UIScreen.mainScreen().bounds.size.width
let ScreenH = UIScreen.mainScreen().bounds.size.height

//通知名字
let WBSwithViewController = "WBSwithViewController"

let AppColor = UIColor.orangeColor()

func RandomColor() -> UIColor {
    
    //设置随机数
    let r = CGFloat(arc4random_uniform(256))
    let g = CGFloat(arc4random_uniform(256))
    let b = CGFloat(arc4random_uniform(256))
    
    
    
    return UIColor(red: r / 255, green: g / 255, blue: b / 255, alpha: 1)
    
}


//自定义表情键盘删除按钮通知名字
let WBEmoticonKeyBoardDeleteBtnNotification = "WBEmoticonKeyBoardDeleteBtnNotification"

//自定义表情键盘按钮点击通知
let WBEmoticonKeyBoardBtnNotification = "WBEmoticonKeyBoardBtnNotification"













